package com.rzjm.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 居民表
 *
 * @author mr.zhou
 * @email zhouweiNice@163.com
 * @date 2020-12-15 22:36:23
 */
@Data
@TableName("ck_citizen")
public class Citizen implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	private Integer townId;
	private String townName;
	private Integer villageId;
	private Integer roomType;
	private Integer heatingMode;

	private String villageName;
	private String holderName;
	private String holderPhone;
	private String roomNo;
	private String qrCode;
	private Integer managerSysUserId;
	private Integer managerWxUserId;
	private String managerName;
	private String managerPhone;

	private Integer directManagerSysUserId;
	private Integer directManagerWxUserId;
	private String directManagerName;
	private String directManagerPhone;

	private Integer starLevel;

	private String remark;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	private Integer state;

	@TableField(exist = false)
	private String roomTypeName;

	@TableField(exist = false)
	private String heatingModeName;



}
